import { showSuccessToast, showFailToast, showConfirmDialog, showToast  } from 'vant';

const plugins = {
	install(app) {
		app.config.globalProperties.$success = showSuccessToast;
		app.config.globalProperties.$fail = showFailToast;
		app.config.globalProperties.$confirm = showConfirmDialog;
		app.config.globalProperties.$message = showToast;
	},
};

export default plugins;
